package com.saicent.note.model;

import com.saicent.support.authority.Authority;
import com.saicent.support.model.SimpleModelSupport;

public class User extends SimpleModelSupport<Integer> {

	private String username;
	private String password;
	private Authority authority;

	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Authority getAuthority() {
		return authority;
	}

	public void setAuthority(Authority authority) {
		this.authority = authority;
	}
	
}
